import pandas as pd

class WordToValidate:
    def __init__(self, chinese_english, mykey):
        self.c_e = chinese_english
        self.mykey = mykey
        english, chinese = zip(*chinese_english)
        df:pd.DataFrame = pd.DataFrame(
            columns = ['英语', "正确释义", "我的释义"],
        )
        df['英语'] = english
        df['正确释义'] = chinese
        df['我的释义'] = self.mykey
        df.name = "测验结果"
        self.df = df



